<template>
  <div>
    <van-cell-group>
      <van-field v-model="mobile" :label="label" :placeholder="placeholder" />
    </van-cell-group>
  </div>
</template>

<script>
export default {
  name: 'Mobile',
  components: {},
  directives: {},
  filters: {},
  props: {
    value: { type: String, default: '' },
    label: { type: String, default: '' },
    placeholder: { type: String, default: '请输入手机号' }
  },

  data() {
    return {
      // verifyBtnTitle: '获取验证码',
      // verifyBtnDisabled: false
    }
  },
  computed: {
    mobile: {
      get() {
        return this.value
      },
      set(val) {
        this.$emit('input', val)
      }
    }
  },
  async created() {
    //
  },

  methods: {}
}
</script>

<style type="text/css"></style>
